package com.ruoyi.graduate.domain.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户管理重置密码参数类")
public class MsSysUserResetParam {

    @ApiModelProperty(value = "用户ID（自增主键）",required = true)
    @TableId(type = IdType.AUTO) // 对应数据库AUTO_INCREMENT自增主键
    private Long userId;

    @ApiModelProperty(value = "密码（可选，默认空字符串）",required = true)
    private String password; // 对应数据库password字段（加密存储）
}
